<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateNoticeTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //公告
        Schema::create('notice', function (Blueprint $table) {
            $table->increments('id');	
            $table->string('content');
			$table->enum('title', ['0', '1', '2']);
			$table->enum('status', ['0', '1']);
            $table->string('time');			
			//$table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('notice');
    }
}
